#ifndef  _TEST_FLASH
#define  _TEST_FLASH

#include "cx32l003_flash.h"
#include "misc.h"


#define WRITE_START_ADDR  ((uint32_t)0x00002000)
#define WRITE_END_ADDR    ((uint32_t)0x00010000)
#define FLASH_PAGE_SIZE    512



typedef enum 
{
	FAILED = 0, 
  PASSED = !FAILED
} TestStatus;


int Test_Flash(void);



#endif /* __INTERNAL_FLASH_H */










